package cc.lj.internal.merchant.interfaces.dto.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 商户品牌单条数据查询参数
 * @author liangxifeng
 * @date 2022-07-07
 */

@Data
@NoArgsConstructor
@Validated
@ApiModel("商户品牌单条数据查询参数")
public class MerchantBrandOneQuery {

    @ApiModelProperty(value = "品牌表主键")
    @NotNull
    @DecimalMin("1")
    private Integer brandId;

    @ApiModelProperty(value = "商户主键")
    private Integer mbMerchant;
}
